package com.mine.androidlearn.tempnet;

import com.mine.androidlearn.api.bean.WeatherInfoBean;
import com.mine.androidlearn.common.base.IBaseView;

/**
 * 网络框架测试用
 *
 * @author mine
 * @version V1.0 2018/8/5 16:58
 */
public class INetContract {

    interface view extends IBaseView {

        /**
         * 获取天气成功
         */
        void loadWeatherInfoSuccess(WeatherInfoBean weatherInfoBean);

    }

    interface presenter {

        /**
         * 获取天气
         */
        void loadWeatherInfo(String key,String city);
    }

}
